Integrand size = 25, antiderivative size = 75 \[ \int \frac {\cot ^3(e+f x)}{\sqrt {a+b \sin ^2(e+f x)}} \, dx=\frac {(2 a+b) \text {arctanh}\left (\frac {\sqrt {a+b \sin ^2(e+f x)}}{\sqrt {a}}\right )}{2 a^{3/2} f}-\frac {\csc ^2(e+f x) \sqrt {a+b \sin ^2(e+f x)}}{2 a f} \]
[Out]
Time = 0.15 (sec) , antiderivative size = 75, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.160, Rules used = {3273, 79, 65, 214} \[ \int \frac {\cot ^3(e+f x)}{\sqrt {a+b \sin ^2(e+f x)}} \, dx=\frac {(2 a+b) \text {arctanh}\left (\frac {\sqrt {a+b \sin ^2(e+f x)}}{\sqrt {a}}\right )}{2 a^{3/2} f}-\frac {\csc ^2(e+f x) \sqrt {a+b \sin ^2(e+f x)}}{2 a f} \]
[In]
[Out]
Rule 65
Rule 79
Rule 214
Rule 3273
Rubi steps \begin{align*} \text {integral}& = \frac {\text {Subst}\left (\int \frac {1-x}{x^2 \sqrt {a+b x}} \, dx,x,\sin ^2(e+f x)\right )}{2 f} \\ & = -\frac {\csc ^2(e+f x) \sqrt {a+b \sin ^2(e+f x)}}{2 a f}-\frac {(2 a+b) \text {Subst}\left (\int \frac {1}{x \sqrt {a+b x}} \, dx,x,\sin ^2(e+f x)\right )}{4 a f} \\ & = -\frac {\csc ^2(e+f x) \sqrt {a+b \sin ^2(e+f x)}}{2 a f}-\frac {(2 a+b) \text {Subst}\left (\int \frac {1}{-\frac {a}{b}+\frac {x^2}{b}} \, dx,x,\sqrt {a+b \sin ^2(e+f x)}\right )}{2 a b f} \\ & = \frac {(2 a+b) \text {arctanh}\left (\frac {\sqrt {a+b \sin ^2(e+f x)}}{\sqrt {a}}\right )}{2 a^{3/2} f}-\frac {\csc ^2(e+f x) \sqrt {a+b \sin ^2(e+f x)}}{2 a f} \\ \end{align*}
Time = 0.17 (sec) , antiderivative size = 71, normalized size of antiderivative = 0.95 \[ \int \frac {\cot ^3(e+f x)}{\sqrt {a+b \sin ^2(e+f x)}} \, dx=\frac {\frac {(2 a+b) \text {arctanh}\left (\frac {\sqrt {a+b \sin ^2(e+f x)}}{\sqrt {a}}\right )}{a^{3/2}}-\frac {\csc ^2(e+f x) \sqrt {a+b \sin ^2(e+f x)}}{a}}{2 f} \]
[In]
[Out]
Time = 0.95 (sec) , antiderivative size = 109, normalized size of antiderivative = 1.45
method | result | size |
default | \(\frac {\frac {\ln \left (\frac {2 a +2 \sqrt {a}\, \sqrt {a +b \left (\sin ^{2}\left (f x +e \right )\right )}}{\sin \left (f x +e \right )}\right )}{\sqrt {a}}-\frac {\sqrt {a +b \left (\sin ^{2}\left (f x +e \right )\right )}}{2 a \sin \left (f x +e \right )^{2}}+\frac {b \ln \left (\frac {2 a +2 \sqrt {a}\, \sqrt {a +b \left (\sin ^{2}\left (f x +e \right )\right )}}{\sin \left (f x +e \right )}\right )}{2 a^{\frac {3}{2}}}}{f}\) | \(109\) |
[In]
[Out]
none
Time = 0.37 (sec) , antiderivative size = 220, normalized size of antiderivative = 2.93 \[ \int \frac {\cot ^3(e+f x)}{\sqrt {a+b \sin ^2(e+f x)}} \, dx=\left [\frac {{\left ({\left (2 \, a + b\right )} \cos \left (f x + e\right )^{2} - 2 \, a - b\right )} \sqrt {a} \log \left (\frac {2 \, {\left (b \cos \left (f x + e\right )^{2} - 2 \, \sqrt {-b \cos \left (f x + e\right )^{2} + a + b} \sqrt {a} - 2 \, a - b\right )}}{\cos \left (f x + e\right )^{2} - 1}\right ) + 2 \, \sqrt {-b \cos \left (f x + e\right )^{2} + a + b} a}{4 \, {\left (a^{2} f \cos \left (f x + e\right )^{2} - a^{2} f\right )}}, -\frac {{\left ({\left (2 \, a + b\right )} \cos \left (f x + e\right )^{2} - 2 \, a - b\right )} \sqrt {-a} \arctan \left (\frac {\sqrt {-b \cos \left (f x + e\right )^{2} + a + b} \sqrt {-a}}{a}\right ) - \sqrt {-b \cos \left (f x + e\right )^{2} + a + b} a}{2 \, {\left (a^{2} f \cos \left (f x + e\right )^{2} - a^{2} f\right )}}\right ] \]
[In]
[Out]
\[ \int \frac {\cot ^3(e+f x)}{\sqrt {a+b \sin ^2(e+f x)}} \, dx=\int \frac {\cot ^{3}{\left (e + f x \right )}}{\sqrt {a + b \sin ^{2}{\left (e + f x \right )}}}\, dx \]
[In]
[Out]
none
Time = 0.23 (sec) , antiderivative size = 77, normalized size of antiderivative = 1.03 \[ \int \frac {\cot ^3(e+f x)}{\sqrt {a+b \sin ^2(e+f x)}} \, dx=\frac {\frac {2 \, \operatorname {arsinh}\left (\frac {a}{\sqrt {a b} {\left | \sin \left (f x + e\right ) \right |}}\right )}{\sqrt {a}} + \frac {b \operatorname {arsinh}\left (\frac {a}{\sqrt {a b} {\left | \sin \left (f x + e\right ) \right |}}\right )}{a^{\frac {3}{2}}} - \frac {\sqrt {b \sin \left (f x + e\right )^{2} + a}}{a \sin \left (f x + e\right )^{2}}}{2 \, f} \]
[In]
[Out]
Timed out. \[ \int \frac {\cot ^3(e+f x)}{\sqrt {a+b \sin ^2(e+f x)}} \, dx=\text {Timed out} \]
[In]
[Out]
Timed out. \[ \int \frac {\cot ^3(e+f x)}{\sqrt {a+b \sin ^2(e+f x)}} \, dx=\int \frac {{\mathrm {cot}\left (e+f\,x\right )}^3}{\sqrt {b\,{\sin \left (e+f\,x\right )}^2+a}} \,d x \]
[In]
[Out]